// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App'
import router from './router'
import axios from 'axios'
import baseConfig from '../config/baseConfig'
import "@ztree/ztree_v3/css/zTreeStyle/zTreeStyle.css"
import "../plugins/zTree/css/zTreeStyle/zTreeStyle.css";
import "../plugins/zTree/js/jquery-1.4.4.min.js";
import "../plugins/zTree/js/jquery.ztree.core.min.js";
import "../plugins/zTree/js/jquery.ztree.excheck.min.js";




import "../plugins/esign/esign.js";
import "../Plugins/esign/esignDemo.css";
// 导入excel插件
import XLSX from 'xlsx'
Vue.prototype.XLSX = XLSX

Vue.use(baseConfig)
Vue.use(ElementUI);
Vue.prototype.$axios = axios
Vue.config.productionTip = false

// //npm安装： npm install vue-baidu-map --save    // 官网： https://dafrok.github.io/vue-baidu-map/#/zh/control/navigation
//import BaiduMap from 'vue-baidu-map/components/map/Map.vue'
//import BmScale from 'vue-baidu-map/components/controls/Scale'
//import BmNavigation from 'vue-baidu-map/components/controls/Navigation'
//import BmMarkerClusterer from  'vue-baidu-map/components/extra/MarkerClusterer'
//import BmMarker from 'vue-baidu-map/components/overlays/Marker'
//import BmInfoWindow from 'vue-baidu-map/components/overlays/InfoWindow'
// import BmLocalSearch from "vue-baidu-map/components/search/LocalSearch.vue";

//引入百度地图
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap, {
    ak: 'k7gO3kr5FnV7T1gOC9300un50RX7G7SM'
});

// 引入Echarts

import x2js from 'x2js'
Vue.prototype.$x2js = new x2js()
//全局引入vuex
import store from './store';

/* eslint-disable no-new */
new Vue({
    el: '#app',
    axios,
    router,
    store,
    components: {
        App
    },
    template: '<App/>'
})